package com.mx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mx.mapper.TagMapper;
import com.mx.mapper.UserMapper;
import com.mx.pojo.Tag;
import com.mx.pojo.User;
import com.mx.service.ITagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author MinXu
 * @since 2021-07-28
 * QQ   754647431
 */
@Service
public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements ITagService {

    @Autowired
    TagMapper tagMapper;

    public List<Tag> findAll(){
        return tagMapper.selectList(null);
    }
}
